package com.itheima.pojo;

public class History {
    private int id;
    private String username;
    private String name;
    private String borrowTime;
    private String time;

    public History() {
    }

    public History(int id, String username, String name, String borrowTime, String time) {
        this.id = id;
        this.username = username;
        this.name = name;
        this.borrowTime = borrowTime;
        this.time = time;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBorrowTime() {
        return borrowTime;
    }

    public void setBorrowTime(String borrowTime) {
        this.borrowTime = borrowTime;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "History{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", name='" + name + '\'' +
                ", borrowTime='" + borrowTime + '\'' +
                ", time='" + time + '\'' +
                '}';
    }
}
